package com.woniuxy.enjoylife.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author teamEnjoyLife75
 * @since 2021-01-23
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class Goods_order implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    //商品id
    private Integer gid;
    //订购者id
    private Integer uid;
    //订单编号
    private String serial;
    //顾客名称
    private String customer;
    //联系方式
    private String phone;
    //联系地址
    private String address;
    //订单详情
    private String information;
    //订单创建时间
    private LocalDateTime createtime;
    //支付时间
    private LocalDateTime paytime;
    //支付类型  1：支付宝   0：到付
    private Integer paytype;
    //订单状态  0：已下单   1：已付款  2：商家接单   3：已发货   4：已收货   5：已完成 6：已取消
    private Integer result;
    //是否删除  0：未删除   1：已删除
    private Integer status;


}
